package com.hs.carrental.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hs.carrental.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hs.carrental.vo.admin.AdminPageVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
public interface AdminMapper extends BaseMapper<Admin> {

    IPage<AdminPageVo> getPage(Page page, @Param("adminName") String adminName, @Param("storeId")Integer storeId);
}
